[IA64] cleanup
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Thu, 30 Mar 2006 19:47:45 +0000 (12:47 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Thu, 30 Mar 2006 19:47:45 +0000 (12:47 -0700)
Minor cleanups from the previous patch

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/arch/ia64/linux-xen/smp.c
xen/include/asm-ia64/vhpt.h

index 953b930644311f3e3a8e48eaaa32f9ca78fd3a88..7004ad4c9ed92807225091a6f7646c1c255315c3 100644 (file)
@@ -47,8 +47,8 @@
 #include <asm/tlbflush.h>
 #include <asm/unistd.h>
 #include <asm/mca.h>
-#include <asm/vhpt.h>
 #ifdef XEN
+#include <asm/vhpt.h>
 #include <asm/hw_irq.h>
 #endif
 
@@ -291,11 +291,14 @@ smp_flush_tlb_all (void)
 {
        on_each_cpu((void (*)(void *))local_flush_tlb_all, NULL, 1, 1);
 }
+
+#ifdef XEN
 void
 smp_vhpt_flush_all(void)
 {
-    on_each_cpu((void (*)(void *))vhpt_flush, NULL, 1, 1);
+       on_each_cpu((void (*)(void *))vhpt_flush, NULL, 1, 1);
 }
+#endif
 
 #ifndef XEN
 void
index d0a31c49fa2a5f116ddb8f1602daf0e4a791d5e8..85216541d49696625d9b6cde514d4d0b3ebff8db 100644 (file)
@@ -20,7 +20,7 @@
 #ifdef CONFIG_SMP
 # define vhpt_flush_all()      smp_vhpt_flush_all()
 #else
-# define vhpt_flush_all()   vhpt_flush()
+# define vhpt_flush_all()      vhpt_flush()
 #endif
 // FIXME: These should be automatically generated